package org.atovio.coolexam.exception;

import lombok.Getter;
import org.atovio.coolexam.common.HttpCode;

/**
 * 权限认证异常
 */
@Getter
public class AuthenticationException extends RequestException{

    // http状态码
    private final int CODE;

    public AuthenticationException(String message) {
        super(message);
        this.CODE = HttpCode.UNAUTHORIZED;
    }

}
